﻿using Codeflows;
using System.Diagnostics;
using Codeflows.Results;

namespace CodeflowsTests.Scenarios
{
    public class JumpWithArguments : Codeflow
    {
        public Result Start()
        {
            return Jump<JumpWithArguments>(c => c.Step2("Hola"));
        }

        public Result Step2(string value)
        {
            return End();
        }
    }
}
